package com.wyait.manage.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Value;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.security.Identity;
import java.util.Date;
import java.io.Serializable;

/**
 * (Work)实体类
 *
 * @author makejava
 * @since 2020-05-14 15:28:02
 */
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Work implements Serializable {
    private static final long serialVersionUID = -61625697019678240L;

    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    /**
    * 课程名称
    */
    @Excel(name = "课程")
    private String courseName;

    @Excel(name = "实验学时")
    private Integer practicalHours;

    @Excel(name = "讲授学时")
    private Integer theoreticalHours;
    /**
    * 总学时
    */
    @Excel(name = "总学时")
    private Integer totalClassHour;

    private String workId;

    @Excel(name = "教师")
    private String teacherName;
    /**
    * 上课人数
    */
    @Excel(name = "上课人数")
    private Integer stuNum;
    /**
    * 课程类型(0:普通课，1:核心课)
    */
    @Excel(name = "课程类别四")
    private String courseType;

    @Excel(name = "理论课程工作量")
    private Double workload1;
    @Excel(name = "实践课程工作量")
    private Double workload2;

    @Excel(name = "理论课程工作量表达式")
    private String expression1;
    @Excel(name = "实践课程工作量表达式")
    private String expression2;
    /**
    * 班级构成
    */
    @Excel(name = "上课班级构成")
    private String classes;
    
    private Date gmtCreate;
    
    private Date gmtUpdate;
    
    private Integer isDeleted;

}